package ctn.hibernate.po;

import java.io.Serializable;

public class ScoreRecord implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long levelValue;
	private Long failedValue;
	private boolean isOverDelayDeadLine;
	private boolean isOutFromProject;
	private Long stage;
	private boolean isAward;
	private boolean isFailed;
	
	
	public boolean isFailed() {
		return isFailed;
	}

	public void setFailed(boolean isFailed) {
		this.isFailed = isFailed;
	}

	public ScoreRecord(){}
	
	public ScoreRecord(long failedValue){
		this.failedValue = failedValue;
		this.isFailed = true;
	}
	
	public ScoreRecord(long levelValue,long failedValue,boolean isAward){
		this.failedValue = failedValue;
		this.levelValue = levelValue;
		this.isAward = isAward;
		this.isFailed = false;
	}
	
	public boolean isAward() {
		return isAward;
	}
	public void setAward(boolean isAward) {
		this.isAward = isAward;
	}
	public Long getStage() {
		return stage;
	}
	public void setStage(Long stage) {
		this.stage = stage;
	}
	public Long getLevelValue() {
		return levelValue;
	}
	public void setLevelValue(Long levelValue) {
		this.levelValue = levelValue;
	}
	public Long getFailedValue() {
		return failedValue;
	}
	public void setFailedValue(Long faildValue) {
		this.failedValue = faildValue;
	}
	public boolean isOverDelayDeadLine() {
		return isOverDelayDeadLine;
	}
	public void setOverDelayDeadLine(boolean isOverDelayDeadLine) {
		this.isOverDelayDeadLine = isOverDelayDeadLine;
	}
	public boolean isOutFromProject() {
		return isOutFromProject;
	}
	public void setOutFromProject(boolean isOutFromProject) {
		this.isOutFromProject = isOutFromProject;
	}
	
}
